//
//  PublishRentLayout.m
//  CenturyCity
//
//  Created by beisheng03 on 2017/12/26.
//  Copyright © 2017年 beisheng. All rights reserved.
//

#import "PublishRentLayout.h"

@implementation PublishRentLayout
- (void)prepareLayout{
    [super prepareLayout];
    
    CGFloat itemW = ([UIScreen mainScreen].bounds.size.width - 51) / 4.0;
    
    CGSize size = CGSizeMake(itemW, itemW);
    
    self.itemSize = size;
    
    self.minimumLineSpacing = 10;
    self.minimumInteritemSpacing = 10;
    self.collectionView.showsVerticalScrollIndicator = false;
    self.collectionView.showsHorizontalScrollIndicator = false;
    self.collectionView.scrollEnabled = NO;
    self.collectionView.contentInset = UIEdgeInsetsMake(10, 10, 10, 10);
    
    
    
}
@end
